Design and Implementation of a Model-Driven Approach for Restful APIs
نویسنده
چکیده
The development of REST APIs requires a great deal of time because developers have to address several issues to ensure a suitable design and the desired usability. This paper uses the model-driven approach to generate proper and functional REST APIs while focusing on the core aspects of REST and the consequences for the generation process. We present a method, which allows to design a REST API from an abstract point of view. This user-defined model allows to generate source code for a REST framework such as Jersey. The implemented framework includes the generation of specified resources, methods, and a persistence layer. This paper presents a REST metamodel and a user model, which enables the user to specify the desired API. After the initialization of the generation process, the framework provides a readyto-use REST API.
منابع مشابه
Model-driven Testing of RESTful APIs
In contrast to the increasing popularity of REpresentational State Transfer (REST), systematic testing of RESTful Application Programming Interfaces (API) has not attracted much attention so far. This paper describes different aspects of automated testing of RESTful APIs. Later, we focus on functional and security tests, for which we apply a technique called model-based software development. Ba...
متن کاملSemantic RESTful APIs for Dynamic Data Sources
The amount of available highly dynamic data sources on the Web is constantly increasing. Such dynamic data sources usually require client applications to be capable to process continuous data streams. We present an approach that enables dynamic data sources to be exposed with RESTful APIs. The use of REST implies that individual resources are exposed, which enables clients to interact in a more...
متن کاملRobust Fractional-order Control of Flexible-Joint Electrically Driven Robots
This paper presents a novel robust fractional PIλ controller design for flexible joint electrically driven robots. Because of using voltage control strategy, the proposed approach is free of problems arising from torque control strategy in the design and implementation. In fact, the motor's current includes the effects of nonlinearities and coupling in the robot manipulator. Therefore, cancella...
متن کاملRobust Fractional-order Control of Flexible-Joint Electrically Driven Robots
This paper presents a novel robust fractional PIλ controller design for flexible joint electrically driven robots. Because of using voltage control strategy, the proposed approach is free of problems arising from torque control strategy in the design and implementation. In fact, the motor's current includes the effects of nonlinearities and coupling in the robot manipulator. Therefore, cancella...
متن کاملFormalization and Automated Verification of RESTful Behavior
REST is a software architectural style used for the design of highly scalable web applications. Interest in REST has grown rapidly over the past decade, spurred by the growth of open web APIs. On the other hand, there is also considerable confusion surrounding REST: many examples of supposedly RESTful APIs violate key REST constraints. We show that the constraints of REST and of RESTful HTTP ca...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014